#
#     # 定义函数
# list_stu = []
#     # 定义一个空列表
# for i in range(3):
#     name = input('输入名称')
#     price = float(input('输入价格'))
#     mas_info = {'name':name,'price':price}
#         # 录入信息保存为字典(键值对)
#     list_stu.append(mas_info)
#
#     # 打印信息
#
#
# def in_info():
#     # 打印水果信息
#     num = 1
#     for i in list_stu:
#         print(f"{num}   {i.get('name')}    {i.get('price')}")
#         num += 1
#
#
# in_info()
# def in1(year):
#     if year % 4 == 0 and year % 100 != 0 or year % 400 == 0:
#         return ("True")
#     else:
#         return ("False")
# print(in1(401))




